﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddProject.aspx.cs" Inherits="PMS.Web.AddProject" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="Styles/Site.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script type="text/javascript">
        function closeWin() {
            parent.closeWin();
        }

        function CheckTextbox() {
            var city = $("#lab_City").val();
            if (city == "") {
                return;
            }
        }

    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:HiddenField ID="hid_SystemProperty" runat="server" Value="" />
    <asp:HiddenField ID="hid_RoleID" runat="server" Value="0" />
    <asp:HiddenField ID="hid_ID" runat="server" Value="0" />
    <div style="width: 98%;">
        <table width="100%">
            <tr>
                <td align="right">
                    项目类型
                </td>
                <td align="left">
                    <asp:DropDownList runat="server" ID="ddl_ProjectType">
                        <asp:ListItem>工程项目</asp:ListItem>
                        <asp:ListItem>维保项目</asp:ListItem>
                        <asp:ListItem>维修项目</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td align="right">
                    工程编号
                </td>
                <td>
                    <asp:TextBox ID="txt_ProjectID" runat="server"></asp:TextBox>
                </td>
                <td align="right">
                    JDE号
                </td>
                <td>
                    <asp:TextBox ID="txt_JDEID" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    城市
                </td>
                <td>
                    <asp:Label ID="lab_City" runat="server" Text=""></asp:Label>
                </td>
                <td align="right">
                    项目名称
                </td>
                <td colspan="3">
                    <asp:TextBox ID="txt_ProjectName" runat="server" Width="350px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    系统安装地址
                </td>
                <td>
                    <asp:TextBox ID="txt_SystemPath" runat="server"></asp:TextBox>
                </td>
                <td align="right">
                    客户联系人
                </td>
                <td>
                    <asp:TextBox ID="txt_Customer" runat="server"></asp:TextBox>
                </td>
                <td align="right">
                    联系电话
                </td>
                <td>
                    <asp:TextBox ID="txt_CustomerTel" runat="server"></asp:TextBox>
                </td>
            </tr>
        </table>
        <img src="image/mainpage_line.jpg" />
        <table width="100%">
            <tr>
                <td align="right">
                    开工日期
                </td>
                <td>
                    <input id="txt_StartDate" type="text" runat="server" class="Wdate" onfocus="WdatePicker()" />
                </td>
                <td align="right">
                    完工日期
                </td>
                <td>
                    <input id="txt_EndDate" type="text" runat="server" class="Wdate" onfocus="WdatePicker()" />
                </td>
            </tr>
            <tr>
                <td align="right">
                    设计
                </td>
                <td>
                    <asp:TextBox ID="txt_Design" runat="server"></asp:TextBox>
                </td>
                <td align="right">
                    销售
                </td>
                <td>
                    <asp:TextBox ID="txt_Sale" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    安装工程师
                </td>
                <td>
                    <asp:TextBox ID="txt_Engineer" runat="server"></asp:TextBox>
                </td>
                <td align="right">
                    联系电话
                </td>
                <td colspan="3">
                    <asp:TextBox ID="txt_EngineerTel" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    维护工程师
                </td>
                <td>
                    <asp:TextBox ID="txt_Construction" runat="server"></asp:TextBox>
                </td>
                <td align="right">
                    现场负责人
                </td>
                <td>
                    <asp:TextBox ID="txt_Principal" runat="server"></asp:TextBox>
                </td>
            </tr>
        </table>
        <img src="image/mainpage_line.jpg" />
        <table width="100%">
            <tr>
                <td align="right">
                    系统类型
                </td>
                <td style="width: 350px;">
                    <asp:CheckBoxList ID="cbl_SystemProperty" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem>PS</asp:ListItem>
                        <asp:ListItem>产品销售/卡片</asp:ListItem>
                        <asp:ListItem>CCTV</asp:ListItem>
                        <asp:ListItem>AC</asp:ListItem>
                        <asp:ListItem>BA</asp:ListItem>
                        <asp:ListItem>其它</asp:ListItem>
                    </asp:CheckBoxList>
                </td>
                <td>
                    <asp:TextBox ID="txt_SystemProperty" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    管道由:
                </td>
                <td colspan="2">
                    <asp:RadioButtonList ID="cbl_Provider" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem>甲方提供</asp:ListItem>
                        <asp:ListItem>集宝提供</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td align="right">
                    MFA 调查分数
                </td>
                <td colspan="2">
                    <asp:RadioButtonList ID="cbl_FMASurveyPoints" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem>7</asp:ListItem>
                        <asp:ListItem>6</asp:ListItem>
                        <asp:ListItem>5</asp:ListItem>
                        <asp:ListItem>4</asp:ListItem>
                        <asp:ListItem>3</asp:ListItem>
                        <asp:ListItem>2</asp:ListItem>
                        <asp:ListItem>1</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
        </table>
        <table style="width: 100%;">
            <tr>
                <td align="center">
                    <asp:Button ID="btn_Create" CssClass="BlueButton_Min" runat="server" Text="保存" OnClientClick="CheckTextbox();"
                        OnClick="btn_Create_Click" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
